package com.anxin.act.task.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.anxin.framework.web.entity.BaseEntity;
//import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author jbs
 * @version 1.0
 * @date 2022/07/19 17:57:45
 */
public class ActHiComment extends BaseEntity<ActHiComment> {
    private static final long serialVersionUID = 1L;

    /**
     * 类型
     */
    //@ApiModelProperty(value = "类型", position = 20)
    private String type;

    /**
     * 填写时间
     */
    //@ApiModelProperty(value = "填写时间", position = 30)
    private Date time;

    /**
     * 填写人
     */
    //@ApiModelProperty(value = "填写人", position = 40)
    private String userId;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFullMsg() {
        return fullMsg;
    }

    public void setFullMsg(String fullMsg) {
        this.fullMsg = fullMsg;
    }

    /**
     * 节点实例ID
     */
    //@ApiModelProperty(value = "节点实例ID", position = 50)
    private String taskId;

    /**
     * 流程实例ID
     */
    //@ApiModelProperty(value = "流程实例ID", position = 60)
    private String procInstId;

    /**
     * 行为类型
     */
    //@ApiModelProperty(value = "行为类型", position = 70)
    private String action;

    /**
     * 用于存放流程产生的信息，比如审批意见
     */
    //@ApiModelProperty(value = "用于存放流程产生的信息，比如审批意见", position = 80)
    private String message;

    /**
     * 全部内容
     */
    //@ApiModelProperty(value = "全部内容", position = 90)
    private String fullMsg;

    public ActHiComment() {
    }

    public ActHiComment(String id, String type, Date time, String userId, String taskId, String procInstId, String action, String message, String fullMsg) {
        super(id);
        this.type = type;
        this.time = time;
        this.userId = userId;
        this.taskId = taskId;
        this.procInstId = procInstId;
        this.action = action;
        this.message = message;
        this.fullMsg = fullMsg;
    }

    @Override
    public String toString() {
        return "ActHiComment{" +
                "type='" + type + '\'' +
                ", time=" + time +
                ", userId='" + userId + '\'' +
                ", taskId='" + taskId + '\'' +
                ", procInstId='" + procInstId + '\'' +
                ", action='" + action + '\'' +
                ", message='" + message + '\'' +
                ", fullMsg='" + fullMsg + '\'' +
                '}';
    }
}
